home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 55 / af055sub.adf / djp_201.lha / DJP_201 Doc next >
Text File  |  1993-11-10  |  10KB  |  284 lines

  1.  
  2.                    ******************************************
  3.                    *                                        *
  4.                    *            DJPrint v2.01               *
  5.                    *                                        *
  6.                    *         Paper Saving Utility.          *
  7.                    *                                        *
  8.                    ******************************************
  9.  
  10.  
  11.  
  12.  
  13. This utility produces A5 size booklets from text files using an Amiga
  14. and the HP DeskJet or compatible printer.
  15.  
  16.  
  17.  
  18. A BRIEF HISTORY
  19. ---------------
  20.  
  21. Software to print out manuals and other text files into neat A5 size
  22. booklets using a PC and the DeskJet has long been available, but a similar
  23. utility for the Amiga was hard to find.
  24.  
  25. I searched widely for a program to do exactly what I required.
  26. I did find useful programs. I even came across a version written in ARexx.
  27. Some were good too, but not one would do exactly what I wanted, so I decided
  28. to write my own version. I chose to base it upon the excellent "BOOKLET" by
  29. A.Lawrie, which I have been using on the PC for some time.
  30.  
  31. Thus DJPrint was born and v1.01 was the first real working release.
  32.  
  33. Version 2.0 includes these new features:-
  34.  
  35.     -  Full point and click user interface.
  36.  
  37.     -  Option to Chop Long Lines (>80 chars)
  38.  
  39.     -  Option to Act on Embedded formfeeds (char 12)
  40.  
  41.     -  Option to Suppress Blank Lines
  42.  
  43.     -  Option to  Expand Embedded TAB characters to your own setting
  44.  
  45.     -  Sound option
  46.  
  47. This version prints 4 pages to each A4 sheet, two on the front and two on the
  48. back, with a maximum of 72 lines of 80 characters on each page.
  49.  
  50. It is possible, therefore, to put more than 23,000 characters on each sheet!
  51. In practice, the printed booklets look much better with <25% of that absolute
  52. (and almost unreadable) maximum density.
  53.  
  54. To use DJPrint v2.01 you will need:-
  55.  
  56.  
  57.  
  58.     *  An Amiga computer (WB1.3 or later) with at least 1MB Ram.
  59.        Using an standard A1200 it is possible to process a 250k
  60.        text file which produces a booklet of about 100 pages.
  61.  
  62.  
  63.     *  The HP DeskJet or compatible printer with lots of paper.
  64.        I have not proved it yet, DJPrint should also work on the HP LaserJet
  65.        and compatible printers because the commands sent to the printer
  66.        are all to the HP PCL Level III specification.
  67.  
  68.  
  69.     *  A stapler. (I use an ordinary 6mm WHSmith special - but bigger
  70.        is always better!)
  71.  
  72.  
  73.  
  74.     *  Lots of patience if the file you wish to print is a long one!
  75.  
  76.  
  77. MAKING IT WORK
  78. --------------
  79.  
  80. I hope the program works intuitively enough to be usable without lots
  81. of instructions - but just a few pointers may help.
  82. DJPrint opens it's own custom screen.
  83.  
  84.  
  85. The main buttons and keys  are:-
  86.  
  87.  
  88. LOAD     -  Loads text file into memory ready for processing.
  89.             Also available with <CTRL> L
  90.  
  91.  
  92. PROCESS  -  Analyses the loaded file using the current parameters
  93.             ie. Suppressing Line Feeds, Expanding Tab Characters, etc.
  94.             File can be processed only once without re-loading
  95.             Also available with <CTRL> P
  96.  
  97. PRINT    -  Prints the text to the destination selected in the cycle
  98.             gadget (PAR, SER or Disk File)
  99.             The text must be processed prior to printing.
  100.             Also available with <CTRL> R
  101.  
  102. SAVE     -  Saves the current configuration. This includes all the button
  103.             and gadget selections. File is saved as "SYS:s/DJPRINT.cfg"
  104.             If the program is started and the config file is not found,
  105.             a set of default values is used.
  106.             Also available with <CTRL> S
  107.  
  108. The two Cycle Gadgets to the right:-
  109.  
  110.              #1 -  Selects the output destination (PAR: SER: or File)
  111.                    Also available with <CTRL> O
  112.  
  113.              #2 -  Selects the auto text printed at the top of each page.
  114.                    (None, Name, Date or Both)
  115.                    ie.None, Name of the file, Current date or Both.
  116.                    Also available with <CTRL> G
  117.  
  118. The four 'Tick-Boxes' on the left of the lower panel can be set On or Off
  119. by clicking in the relevant box. They are:-
  120.  
  121. CHOP LONG LINES  - Set   = Text is limited to no more than 80 characters/line.
  122.                    Unset = >80 characters extended to a new line.
  123.  
  124. IGNORE FORMFEEDS - Set   = Formfeed (ASCII 12) characters ignored.
  125.                    Unset = React to FF chars ie: Start new page when found.
  126.  
  127. LETTER QUALITY   - Set   = Best quality output, but slow.
  128.                    Unset = Faster, draft quality output.
  129.  
  130. SOUND            - Set   = Ding, ding, squawk flong!
  131.                    Unset = Silence
  132.  
  133.  
  134. The contents of the five edit boxes in the lower panel can be altered by
  135. clicking in the relevant box - an edit cursor will then appear. Alter the
  136. contents as you wish, then press <ENTER> to complete the edit. They are:-
  137.  
  138. SUPPRESS LINE FEEDS - If set to >0, blocks of empty lines greater than the
  139.                       current setting will be ignored.
  140.  
  141. EXPAND TABS - If >1 any TAB (ASCII 9) characters found in the text will be
  142.               expanDed to this number of spaces.
  143.               Values of between 2 and 5 are reasonable.
  144.  
  145. EXTRA HEADER TEXT - Your own message text to appear at the top of each
  146.                     printed page, along with the selected auto text.
  147.  
  148.  
  149. BUFFER SIZE - When expanding TABs or reacting to Formfeed characters,
  150.               workspace is needed by the program. Consequently, if many
  151.               of these characters are found in the text, the buffer size
  152.               may need to be increased to provide adequate workspace.
  153.  
  154. OUTPUT FILENAME - The name of the output save file when the print
  155.                   destination is set to 'File'.
  156.  
  157.                   See 'PRINTING TO A FILE' for further information.
  158.  
  159.  
  160. The EXIT gadget is at the left hand side of the top panel.
  161. Also available with <CTRL> Q or <ESC>
  162.  
  163. The SCREEN TO BACK gadget is at the right hand side of the top panel.
  164. You can switch back again to DJPrint with the <LEFT AMIGA> M combination.
  165.  
  166.  
  167.  
  168. During Printing. . . . .
  169.  
  170.  
  171.  
  172.     *  Most importantly, please, do not remove finished sheets while the
  173.        printer busy light remains lit . . for those of you who are colour
  174.        blind, it is the green one.
  175.  
  176.  
  177.  
  178.     *  When the paper has been through the printer once, ie. the "front"
  179.        side has been printed, wait until the busy light goes out, take
  180.        the printed sheets from the top tray and, WITHOUT TURNING THEM
  181.        or changing their order in any way, place them back in the
  182.        paper feed tray.
  183.  
  184.        Only then should you hit <ENTER> to continue printing the "back"
  185.        side of the sheets.
  186.  
  187.  
  188.  
  189.     *  When the paper has been through the DeskJet twice AND the busy
  190.        light goes out you can safely remove the finished sheets.
  191.  
  192.  
  193.  
  194. Stapling the sheets together is made easier if the pages are laid flat
  195. together on a piece of corrugated cardboard or similar and stacked with
  196. page number one face up.
  197.  
  198. Open the stapler out flat, lay the head on the pages along the centre-
  199. fold line.
  200.  
  201. While holding the stapler firmly with one hand, bring your other hand
  202. down hard and fast on to the stapler handle.
  203.  
  204. If you are quick and hit hard enough the staple points should penetrate
  205. all the sheets and come out the back side. Carefully bend them into the
  206. paper with a coin or screwdriver.
  207.  
  208.  
  209. Using this method I have successfully made booklets of more than 100
  210. pages - that is 25 sheets! This appears to be the maximum number. Any
  211. more than 25 and they become unmanageable when stapled together. Of
  212. course, the heavier the paper you use, the thicker and stiffer the
  213. resultant booklet will be. I use 80 gsm copier paper most of the time.
  214.  
  215.  
  216. And the corrugated cardboard ? Oh, that's there to stop the staple
  217. points going through into the kitchen table top!
  218.  
  219.  
  220.  
  221.  
  222. PRINTING TO A FILE
  223. ------------------
  224.  
  225. It is possible to save the files to disc for later printing of single or
  226. multiple copies. Saving to disc file is almost the same as direct printing,
  227. but you will end up with two disc files instead of a lot of printed paper.
  228.  
  229.  
  230. For example, if you opt to save to a file and name it "df0:TEST.doc", when the
  231. program finishes you will have "TEST.doc.front" and "TEST.doc.back" on df0:
  232.  
  233.  
  234. To create a booklet from these files you would then do:-
  235.  
  236.    COPY df0:TEST.doc.front PAR:
  237.  
  238. wait for the busy light to go out, move the sheets down into the paper
  239. feed tray, and finally do
  240.  
  241.    COPY df0:TEST.doc.back PAR:
  242.  
  243.  
  244. The above example applies only if you are using the parallel port - substitute
  245. "SER:" for "PAR:" if you are using the serial port. If you do use the serial
  246. option, be certain that the  Workbench prefs serial settings and your DeskJet
  247. serial speed match - 9600 baud is quite fast enough in this situation.
  248.  
  249.  
  250. In either case, with both parallel and serial ports please make sure that the
  251. PRINTER IS ON LINE before running DJPrint as the program needs to initialise
  252. the printer before any real printing takes place.
  253.  
  254.  
  255. NB. Failure to do this will hang the program until the printer is ready.
  256.  
  257.  
  258. Last of all, please, be patient when waiting for the DeskJet to finish printing.
  259. Yes, it is frustrating when you are waiting for a printer to finish a job -
  260. sometimes it seems like hours before it actually does anything! Remember, the
  261. DeskJet is doing a great job of what many other printers can't do at any price -
  262. print in landscape orientation.
  263.  
  264.  
  265. Anyway, you have an Amiga - so appreciate, as I do, that you CAN run another
  266. program or two at the same time as DJPrint !  I also use a PC and I can vouch
  267. for the benefits of working on a true multi-tasking computer, (the Amiga), as
  268. opposed to one which gets completely tied up running just a single program (PC).
  269.  
  270. Written and compiled with Amos Professional v2.00
  271.  
  272. DJPrint v2.01 is Freeware.
  273.  
  274.  
  275. Copyright remains with the author, who is:-
  276.  
  277.    Rod  Crookes
  278.  
  279.    INTERNET :  rodcrux@cix.compulink.co.uk
  280.  
  281.    -  Grimsby, Lincs.
  282.    -  November 1993
  283.    -  Tel: +44 (0)472 347234
  284.